home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TeX 1995 July
/
TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO
/
macros
/
latex209
/
contrib
/
misc
/
oncew.sty
< prev
next >
Wrap
Text File
|
1991-08-08
|
834b
|
16 lines
%%% This is onecw.sty, version of 29 june 1990, by Nico Verwer.
%%% Normally, LaTeX issues a warning every time it encounters an
%%% undefined citation. Thus you will get multiple warnings for the same
%%% citation. When you include this sty file, only one warning will be
%%% issued for every citation.
%%% Almost all of this code is directly taken from latex.tex.
%%% Please email suggestions (I'm still looking for a better name),
%%% comments, etc. to verwer@cs.ruu.nl .
\def\@citex[#1]#2{\if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi
\def\@citea{}\@cite{\@for\@citeb:=#2\do
{\@citea\def\@citea{,\penalty\@m\ }\@ifundefined
{b@\@citeb}{{\bf ?}\@warning
{Citation `\@citeb' on page \thepage \space undefined}
\global\@namedef{b@\@citeb}{{\bf ?}}}%
\hbox{\csname b@\@citeb\endcsname}}}{#1}}